import request from '@/utils/request'

// 验证身份
export function setMailToUser(params) {
  return request({
    url: '/sys/MailControllerApi/setMailToUser',
    method: 'post',
    params
  })
}

// 验证邮箱验证码
export function checkMailNum(params) {
  return request({
    url: '/sys/MailControllerApi/checkMailNum',
    method: 'post',
    params
  })
}

// 修改密码
export function updatePasswords(params) {
  return request({
    url: '/sys/MailControllerApi/passwords',
    method: 'post',
    params
  })
}
